package mgo

type Fs struct {
	*MgoFs `db:"fs"`
}

type AppLog struct {
	*MgoDatabase         `db:"applog"`
	API   *MgoCollection `json:"api" mgoIdx:"user;url;ip;result.Code;"` //mgoIdx索引建立标志
	RY    *MgoCollection `json:"ryhistory"`
	Login *MgoCollection `json:"login"` //用户登录日志
}

type Mongo struct {
	Prefix string  `json:"prefix"`
	AppLog *AppLog `json:"applog"`
	Fs     *Fs     `json:"fs"`
}
